<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post">
    <span>用户名：</span><input type="text" name="user" value="{{user}}">
    <span>密码：</span><input type="text" name="pwd" value="{{pwd}}">

    <input type='checkbox' value='1' name="yy">记住密码
    <button>登录</button>
    <button><a href="{% url 'zhuce' %}">注册</a></button>

</form>

</body>
</html>